<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  <script src="https://unpkg.com/axios/dist/axios.min.js"></script>
  <script>
    axios.defaults.baseURL = 'httsp://cdn.liyanhui.com';

    axios.all([
      axios({
        url: '/data.json',
        data: '1.异步'
      }),
      axios({
        url: '/data.json',
        data: '2.异步'
      }),
      axios({
        url: '/data.json',
        data: '3.异步'
      })
    ]).then(axios.spread((res1, res2, res3) => {
      console.log(res1.config.data);
      console.log(res2.config.data);
      console.log(res3.config.data);
    }));
  </script>
</body>
</html>